/* ==UserStyle==
@name           百科
@namespace      baidubaike
@version        0.0.1
@license        MIT
@description    百度百科美化
@author         wearehere8
@homepageURL    https://github.com/wearehere8/MUstyles
==/UserStyle== */

@-moz-document url-prefix("https://baike.baidu.com/") {
    /* 在此插入代码... */
    /* 对不需要的内容屏蔽 */
.declare-wrap,
.posterFlag,
.after-content,
.help,
.right-ad,
.wgt-footer-main,
.promotion_viewport,
.userbar_message,
.userbar_mall,
.layout > a,
.pinzhuanWrap,
.wiki-lemma .lemmaWgt-secondsKnow,
.lemmaWgt-promotion-slide .promotion_viewport,
.lemmaWgt-promotion-vbaike,
.professional-con,
.pc-header-new .topbar,
.zhidao-diversion,
.configModuleDown,
.navbar-wrapper,
#tashuo_bottom,
#tashuo_right,
#side-auth,
#side-share,
#hotspotmining_s,
#side_box_unionAd {
    display: none!important;
}

/****************** 全局设置 ******************/
body {
    background: #333;
}
.body-wrapper .content-wrapper .content {
    font-family: Microsoft YaHei, WenQuanYi Micro Hei, sans-serif!important;
}

/****************** 导航栏 ******************/
.header-wrapper {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.header-wrapper .header .layout {
    width: 100%;
}
.lemmaWgt-searchHeader {
    border: none;
}
.lemmaWgt-searchHeader,
.header-wrapper .header {
    background-color: #547b8e;
}
.pc-header-new .wgt-searchbar-main {
    width: 930px;
    margin: auto;
}

/* 百度图标 */
.cmn-icons_logo-du {
    color: rgba(254, 254, 254, 0.76);
}
.cmn-icons_logo-bai,
.cmn-icons_logo-baike {
    color: rgba(255, 255, 255, 0.54);
}

/* 下拉选项 */
.wgt-searchbar-new.wgt-searchbar .search .form .suggestion li {
    padding: 0 8px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    cursor: pointer;
}

/*  搜索栏 */
.wgt-searchbar-new.wgt-searchbar .search .form input {
    height: 30px;
    line-height: 1.5;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background: hsla(0, 0%, 100%, .2);
    color: #fff;
    transition: background .3s;
}
.wgt-searchbar-new.wgt-searchbar .search .form input:focus {
    box-shadow: 0 0 5px rgba(255, 255, 255, .5);
    background: hsla(0, 0%, 100%, .9);
    color: #222;
    transition: background .3s, box-shadow .5s;
}
#searchForm > button {
    height: 40px;
    line-height: 1.5;
    border-radius: 5px;
    margin-left: 5px;
    border: none!important;
    box-shadow: 0 0 0 transparent;
    color: #fff!important;
    background: hsla(0, 50%, 100%, .2)!important;
}
#searchForm > button:hover {
    background: hsla(0, 50%, 100%, .9)!important;
    box-shadow: 0 0 10px rgba(255, 255, 255, .5);
    color: #222!important;
    transition: box-shadow .5s, background .5s;
}
.wgt-navbar .navbar-bg .navbar-bg-top {
    height: 43px;
    border-top: none;
    border-bottom: none;
    background: #7c9b9e;
}
.wgt-searchbar-new.wgt-searchbar .logo-container {
    padding: 12px 0 15px;
}
.tool-buttons {
    margin-top: 30px;
}
.tool-buttons .button {
    color: #fff;
    font-size: 16px;
}
.lemmaWgt-searchHeader .user-info {
    margin-top: 13px;
}
.lemmaWgt-searchHeader .user-info a.user-link {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
}
.wgt-searchbar-new.wgt-searchbar-large .search {
    padding: 15px 0px;
}
.wgt-searchbar-new.wgt-searchbar-large .logo-container {
    padding: 10px 0px;
}

/****************** 正文 ******************/
.body-wrapper .content-wrapper {
    margin: 20px 0 30px;
}
.main-content table.table-view,
.body-wrapper .para {
    font-size: 16px;
    line-height: 1.8;
}


.body-wrapper a {
    color: #0f5290;
}

.page-background {
    background: #f5f5f5!important;
}
.content,
.polysemant-list {
    border-radius: 5px;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 0 0 10px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 10px 1px rgba(0, 0, 0, .1);
}
.content {
    margin-bottom: 30px;
}
.before-content {
    width: 1140px;
    margin: 10px auto 0px;
}
.before-content .pinzhuanWrap {
    padding: 5px 0;
}
.polysemant-list-normal .polysemantList-wrapper {
    background: white;
}
.lemma-picture,
.side-box,
.zhidao-diversion,
.lemmaWgt-sideRecommend,
.wiki-lemma #authEdit,
.wiki-lemma #authResource,
.wiki-lemma .summary-pic {
    border: none;
    box-shadow: 0 0 0 transparent;
}
.lemmaWgt-lemmaCatalog .lemma-catalog .catalog-list ol li.level1 .text,
.lemmaWgt-lemmaCatalog .lemma-catalog .catalog-list,
.lemmaWgt-lemmaCatalog .lemma-catalog {
    background: #fcfcfc;
    border: none;
}
.lemmaWgt-lemmaCatalog .lemma-catalog {
    border-radius: 5px;
}
.lemmaWgt-lemmaCatalog .lemma-catalog .catalog-list ol li.level2 .text {
    font-size: 14px;
}
.polysemant-list .polysemantList-header .polysemantList-header-title .toggle.expand,
.polysemant-list .polysemantList-header .polysemantList-header-title .toggle.collapse,
.polysemant-list .polysemantList-header .polysemantList-addButton {
    width: auto;
}

/* 选中文字时 */
.main-content::selection,
.body-wrapper a::selection,
.body-wrapper .para::selection {
    background: #909aa5;
    color: #fff;
}
.main-content a::selection {
    color: #0f5290;
}

/* 底栏排版 */
.wgt-footer-main {
    width: 1140px;
    margin: 10px auto 0px;
}

/************************* 加入动画效果 ****************************/
.body-wrapper {
    animation-name: left_logoR;
    -webkit-animation-duration: .5s;
    -moz-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-timing-function: ease;
    -moz-animation-timing-function: ease;
    animation-timing-function: ease;
}
@-webkit-keyframes left_logoR {
    0% {
        -webkit-transform: translateY(64px);
        -moz-transform: translateY(64px);
        transform: translateY(64px);
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
}
